<template>
  <div class="gift">
    <banner></banner>
    <tabbar :tab-array="tabArray"></tabbar>
  </div>
</template>

<script type="text/ecmascript-6">
  import banner from '../common/banner/banner'
  import tabbar from '../common/tabbar/tabbar'

  export default {
    data() {
      return {
        tabArray: [
          {
            text: '最新',
            name: 'newest',
            router: 'newest'
          },
          {
            text: '热门',
            name: 'hot',
            router: 'hot'
          }
        ]
      }
    },
    components: {
      banner,
      tabbar
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus">

</style>
